<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script type="text/javascript">
     function add(n1,n2){
      console.log("n1:"+n1);
      console.log("n2:"+n2);
      console.log("第二个参数:"+arguments[1]);
      console.log("第三个参数："+arguments[2]);
      return n1+n2;
     }
     var result = add(1,2,3);
     console.log(result);
  </script>
</head>
<body>
  hello html
</body>
</html>